import { Module } from '@nestjs/common';
import { ArticleLikeService } from './article-like.service';
import { ArticleLikeController } from './article-like.controller'
import { TypeOrmModule } from '@nestjs/typeorm'
import { ArticleLike } from '../../entities/articleLike.entity'
import { Article } from 'src/entities/article.entity';
import { User } from 'src/entities/user.entity';
import {AuthModule} from '../auth/auth.module'

@Module({
  imports: [TypeOrmModule.forFeature([ArticleLike, Article, User]),AuthModule],
  providers: [ArticleLikeService],
  controllers: [ArticleLikeController],
  exports: [ArticleLikeService],
})
export class ArticleLikeModule { }
